package com.eatme.core.design.pattern.behavioral.interpreter;

public class Test {
    public static void main(String[] args) {
        String eatmeInputStr = "6 100 11 + *";
        EatmeExpressionParser eatmeExpressionParser = new EatmeExpressionParser();
        int result = eatmeExpressionParser.parse(eatmeInputStr);
        System.out.println("解释计算器结果: "+result);
    }
}
